import Vue from 'vue'
import config from '../config'

import AvueFormDesign from '../packages/';
import AvueUeditor from 'avue-plugin-ueditor'

Vue.use(AvueFormDesign)
Vue.use(AvueUeditor)

import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue);


export default () => {
  Vue.use({
    install(Vue) {
      Vue.prototype.$hconfig = config
    }
  })
}
